/**
 * @Author: 徐铭泽
 * @Date: 2019/11/04
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-10-29 10:02:39
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 新增或更新数据
export const saveVehicleClassInfo = params => axios.post(`${SERVER.VEHICLE}/basic/vehicleClass/saveVehicleClassInfo`, params);
// 获取主页面列表数据
export const searchVehicleClassInfos = params => axios.get(`${SERVER.VEHICLE}/basic/vehicleClass/searchVehicleClassInfos`, { params });
// 获取获取整车分类列表
export const getTypeByOwnerCode = params => axios.get(`${SERVER.VEHICLE}/basic/vehicleClass/getTypeByOwnerCode`, { params });
